#include "Declaration.h"

#include "DeclarationSpecifiers.h"
#include "InitDeclaratorList.h"


void Declaration::codeGen()
{
	COUT
	m_pSpecs->codeGen();
	if(m_pDeclaratorList)
		m_pDeclaratorList->codeGen();
}

Declaration::~Declaration()
{
	delete m_pSpecs;
	if(m_pDeclaratorList)
		delete m_pDeclaratorList;
}